package com.aaa.common.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @FileName: Result
 * @Description: 控制层返回结果的封装类
 * @Author: zhz
 * @CreateTime: 2025/7/1 17:00
 * @Version: 1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result<T> {
    //返回码
    private Integer code;

    //返回提示信息
    private String message;
    //返回数据
    private  T   data;
}
